/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.cms.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 用户和员工的对应Entity
 * @author leo
 * @version 2017-02-14
 */
public class UserGroup extends DataEntity<UserGroup> {
	
	private static final long serialVersionUID = 1L;
	private String userid;		// 用户id
	private String factorynum;		// 厂牌号码
	private String name;		// 姓名
	private String seq;		// 值
	private String abc;
	private String comment;
	
	public UserGroup() {
		super();
	}

	public UserGroup(String id){
		super(id);
	}

	@Length(min=1, max=100, message="用户id长度必须介于 1 和 100 之间")
	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}
	
	@Length(min=0, max=10, message="厂牌号码长度必须介于 0 和 10 之间")
	public String getFactorynum() {
		return factorynum;
	}

	public void setFactorynum(String factorynum) {
		this.factorynum = factorynum;
	}
	
	@Length(min=0, max=100, message="姓名长度必须介于 0 和 100 之间")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=0, max=11, message="值长度必须介于 0 和 11 之间")
	public String getSeq() {
		return seq;
	}

	public void setSeq(String seq) {
		this.seq = seq;
	}
	@Length(min=0, max=2, message="值长度必须介于 0 和 2 之间")
	public String getAbc() {
		return abc;
	}

	public void setAbc(String abc) {
		this.abc = abc;
	}
	@Length(min=0, max=1000, message="值长度必须介于 0 和 1000 之间")
	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}
	
	
	
}